<template>
<div v-for="item in list" :key="item.id">
    id是:{{item.id}}-----内容是：{{item.message}}
</div>
</template>

<script setup>
import {reactive} from 'vue'
const list = reactive([({
    id: 1,
    message: '111'
}), {
    id: 2,
    message: '222'
}, {
    id: 3,
    message: '333'
}])
</script>
